package edu.dayu.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import edu.dayu.domain.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.dayu.domain.vo.StudentVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 86134
* @description 针对表【student】的数据库操作Mapper
* @createDate 2023-03-03 11:24:39
* @Entity edu.dayu.domain.Student
*/
@Mapper
public interface StudentMapper extends BaseMapper<Student> {
    int insertStudent(Student student);

    List<Student> queryStudentAll(Student student);


    List<Student> testQuery(@Param(Constants.WRAPPER)QueryWrapper<Student> queryWrapper);

    List<StudentVO> selectStudentCou(@Param(Constants.WRAPPER)QueryWrapper<StudentVO> queryWrapper);
}




